package com.cbnu.SmartCampusLife;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

@SuppressLint("SetJavaScriptEnabled")
public class TISView extends Activity {


	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_tis_view);

		WebView webview = (WebView) findViewById(R.id.tisWebView);
		webview.getSettings().setUseWideViewPort(true);
        webview.getSettings().setLoadWithOverviewMode(true);
		webview.getSettings().setJavaScriptEnabled(true);
		webview.getSettings().setBuiltInZoomControls(true);
		setTitle(getIntent().getStringExtra("menuName"));
		webview.loadUrl(getIntent().getStringExtra("menuURL"));
	}
}
